package com.zhrenjie04.alex.core;

/**
 * @author 张人杰
 */
public class JsonResultSuccess extends JsonResult{
	private static final long serialVersionUID = 4074026558497808312L;
	public JsonResultSuccess() {
		super.put("status", CODE_SUCCESS);
		super.put("message", "");
	}
	public JsonResultSuccess(String message) {
		super.put("status", CODE_SUCCESS);
		super.put("message", message);
	}
	@Override
	public Integer getStatus(){
		return (Integer)super.get("status");
	}
	@Override
	public void setStatus(Integer code){
		super.put("status",code);
	}
}
